package com.ruoyi.generator.domain.vo;

import java.util.ArrayList;

/**
 * @创建人：任刚
 * @创建时间：2025/5/13 10:32
 * @描述：AppPageTree
 * @版本号：v1.0.0
 **/
public class AppPageTree {

    private Long id;

    private String parentId;

    private String pageName;

    private String buildKey;

    private Long num;
    /** 页面初始化方法 */
    private String initMethod;
    /** 页面销毁时执行的方法 */
    private String destroyMethod;

    private String code;

    private String label;

    private ArrayList<AppPageTree> children;

    public void setId(Long id) {
        this.id = id;
    }
    public Long getId() {
        return id;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }
    public String getParentId() {
        return parentId;
    }

    public void setPageName(String pageName) {
        this.pageName = pageName;
    }
    public String getPageName() {
        return pageName;
    }

    public void setBuildKey(String buildKey) {
        this.buildKey = buildKey;
    }
    public String getBuildKey() {
        return buildKey;
    }

    public void setChildren(ArrayList<AppPageTree> children) {
        this.children = children;
    }
    public ArrayList<AppPageTree> getChildren() {
        return children;
    }

    public Long getNum() {
        return num;
    }
    public void setNum(Long num) {
        this.num = num;
    }

    public String getInitMethod() {
        return initMethod;
    }
    public void setInitMethod(String initMethod) {
        this.initMethod = initMethod;
    }

    public String getDestroyMethod() {
        return destroyMethod;
    }
    public void setDestroyMethod(String destroyMethod) {
        this.destroyMethod = destroyMethod;
    }

    public String getCode() {
        return code;
    }
    public void setCode(String code) {
        this.code = code;
    }

    public String getLabel() {
        return label;
    }
    public void setLabel(String label) {
        this.label = label;
    }
}
